<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Programación en Entornos Interactivos 2010/2011: Fichero Fuente Vista-qt/VistaQtAsignatura.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generado por Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="pages.html"><span>Páginas&nbsp;relacionadas</span></a></li>
      <li><a href="annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
    </ul>
  </div>
<h1>Vista-qt/VistaQtAsignatura.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef VISTAQTASIGNATURA_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define VISTAQTASIGNATURA_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QTabWidget&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QTableWidgetItem&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;Asignatura.h&quot;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="keyword">namespace </span>Ui {
<a name="l00010"></a>00010     <span class="keyword">class </span><a class="code" href="classVistaQtAsignatura.html">VistaQtAsignatura</a>;
<a name="l00011"></a>00011 }
<a name="l00012"></a>00012 
<a name="l00017"></a><a class="code" href="classVistaQtAsignatura.html">00017</a> <span class="keyword">class </span><a class="code" href="classVistaQtAsignatura.html">VistaQtAsignatura</a> : <span class="keyword">public</span> QTabWidget, <span class="keyword">public</span> <a class="code" href="classVista.html">Vista</a>
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019     Q_OBJECT
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">public</span>:
<a name="l00026"></a>00026     <span class="keyword">explicit</span> <a class="code" href="classVistaQtAsignatura.html#a80a88f8059d5dcbf1e272d35f032798e">VistaQtAsignatura</a>(QWidget *parent = 0);
<a name="l00027"></a>00027 
<a name="l00031"></a>00031     <a class="code" href="classVistaQtAsignatura.html#a4948e138def4b2fca619a6b20bbac86a">~VistaQtAsignatura</a>();
<a name="l00032"></a>00032 
<a name="l00037"></a>00037     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a64ed525f1d27a3451b5567e94029448a">refrescar</a>();
<a name="l00038"></a>00038 
<a name="l00042"></a>00042     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ae2c70355f0b2e120a78b56b7ab178518">limpiar</a>();
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="keyword">private</span>:
<a name="l00045"></a>00045     Ui::VistaQtAsignatura *ui;
<a name="l00046"></a>00046     <a class="code" href="classAsignatura.html">Asignatura</a> *ultimaAsignaturaRefrescada;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048     std::map&lt;QTableWidgetItem*, Profesor*&gt; vinculosProfesores;
<a name="l00049"></a>00049     std::map&lt;QTableWidgetItem*, Companero*&gt; vinculosCompaneros;
<a name="l00050"></a>00050     std::map&lt;QTableWidgetItem*, Sesion*&gt; vinculosSesiones;
<a name="l00051"></a>00051     std::map&lt;QTableWidgetItem*, Cita*&gt; vinculosCitas;
<a name="l00052"></a>00052     std::map&lt;QTableWidgetItem*, Nota*&gt; vinculosNotas;
<a name="l00053"></a>00053 
<a name="l00059"></a>00059     <a class="code" href="classProfesor.html">Profesor</a>* <a class="code" href="classVistaQtAsignatura.html#a04a48b58742f4dcabf8f19223a44dcd4">vinculoProfesor</a>(QTableWidgetItem *item) <span class="keyword">const</span>;
<a name="l00060"></a>00060 
<a name="l00066"></a>00066     <span class="keywordtype">int</span> <a class="code" href="classVistaQtAsignatura.html#a9c1aa357e01d2d7d5c5406f81747892c">filaProfesor</a>(<a class="code" href="classProfesor.html">Profesor</a> *profesor) <span class="keyword">const</span>;
<a name="l00067"></a>00067 
<a name="l00072"></a>00072     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ab70e31c6432d0fd20c52dd771512f159">desvincularProfesor</a>(<a class="code" href="classProfesor.html">Profesor</a> *profesor);
<a name="l00073"></a>00073 
<a name="l00077"></a>00077     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a0987e601614c78c82ad771136459c714">quitarProfesorSeleccionado</a>();
<a name="l00078"></a>00078 
<a name="l00084"></a>00084     <a class="code" href="classCompanero.html">Companero</a>* <a class="code" href="classVistaQtAsignatura.html#ae4bb24f9879c0585c2728ab6b5f6a6e4">vinculoCompanero</a>(QTableWidgetItem *item) <span class="keyword">const</span>;
<a name="l00085"></a>00085 
<a name="l00091"></a>00091     <span class="keywordtype">int</span> <a class="code" href="classVistaQtAsignatura.html#af675399a3f6b979f9e4a012630035679">filaCompanero</a>(<a class="code" href="classCompanero.html">Companero</a> *companero) <span class="keyword">const</span>;
<a name="l00092"></a>00092 
<a name="l00097"></a>00097     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a27674bea2cca3098695a512aafba65a4">desvincularCompanero</a>(<a class="code" href="classCompanero.html">Companero</a> *companero);
<a name="l00098"></a>00098 
<a name="l00102"></a>00102     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ae765e8e2b00f9f777ed42f7cec8e840d">quitarCompaneroSeleccionado</a>();
<a name="l00103"></a>00103 
<a name="l00109"></a>00109     <a class="code" href="classSesion.html">Sesion</a>* <a class="code" href="classVistaQtAsignatura.html#a06a4c061f0d318aab917aa91978dbd59">vinculoSesion</a>(QTableWidgetItem *item) <span class="keyword">const</span>;
<a name="l00110"></a>00110 
<a name="l00116"></a>00116     <span class="keywordtype">int</span> <a class="code" href="classVistaQtAsignatura.html#a7926dd581aef23a4530e748a835d56b4">filaSesion</a>(<a class="code" href="classSesion.html">Sesion</a> *sesion) <span class="keyword">const</span>;
<a name="l00117"></a>00117 
<a name="l00122"></a>00122     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a3514d5e2d3d1743b7752622f5af83bb5">desvincularSesion</a>(<a class="code" href="classSesion.html">Sesion</a> *sesion);
<a name="l00123"></a>00123 
<a name="l00127"></a>00127     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ae7ed0c1cca16a7616b6eeed1dfe01f7e">quitarSesionSeleccionado</a>();
<a name="l00128"></a>00128 
<a name="l00134"></a>00134     <a class="code" href="classCita.html">Cita</a>* <a class="code" href="classVistaQtAsignatura.html#a50a35de679418bbe68ae98f8d10a78b8">vinculoCita</a>(QTableWidgetItem *item) <span class="keyword">const</span>;
<a name="l00135"></a>00135 
<a name="l00141"></a>00141     <span class="keywordtype">int</span> <a class="code" href="classVistaQtAsignatura.html#ade80c1b4404f43f8995ac843610d0260">filaCita</a>(<a class="code" href="classCita.html">Cita</a> *cita) <span class="keyword">const</span>;
<a name="l00142"></a>00142 
<a name="l00147"></a>00147     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#af8689a9b6cd1606eb7fa018e06ebc827">desvincularCita</a>(<a class="code" href="classCita.html">Cita</a> *cita);
<a name="l00148"></a>00148 
<a name="l00152"></a>00152     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a7bb907a8d4c682a4f0e49c9fdd196df6">quitarCitaSeleccionado</a>();
<a name="l00153"></a>00153 
<a name="l00159"></a>00159     <a class="code" href="classNota.html">Nota</a>* <a class="code" href="classVistaQtAsignatura.html#aa5fa4e6cf0db9ae26f5915de9f7d42f0">vinculoNota</a>(QTableWidgetItem *item) <span class="keyword">const</span>;
<a name="l00160"></a>00160 
<a name="l00166"></a>00166     <span class="keywordtype">int</span> <a class="code" href="classVistaQtAsignatura.html#aacb1f32b85da7655bed8efa0d404c74f">filaNota</a>(<a class="code" href="classNota.html">Nota</a> *nota) <span class="keyword">const</span>;
<a name="l00167"></a>00167 
<a name="l00172"></a>00172     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a91c44b95518c8382905335ef2c9c5396">desvincularNota</a>(<a class="code" href="classNota.html">Nota</a> *nota);
<a name="l00173"></a>00173 
<a name="l00177"></a>00177     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a77affedd8719ef2db8b540c19a82ddc0">quitarNotaSeleccionado</a>();
<a name="l00178"></a>00178 
<a name="l00179"></a>00179 <span class="keyword">private</span> slots:
<a name="l00184"></a>00184     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a1bd1b11537aa98939e39e5f196199152">on_pushButtonAnadirProfesor_clicked</a>();
<a name="l00185"></a>00185 
<a name="l00190"></a>00190     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#afbbde589e0010657feff4a9a3e90de80">on_pushButtonQuitarProfesor_clicked</a>();
<a name="l00191"></a>00191 
<a name="l00197"></a>00197     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#acb76aea797a780dd4486385706c979bf">on_tableWidgetProfesores_itemDoubleClicked</a>(QTableWidgetItem *item);
<a name="l00198"></a>00198 
<a name="l00203"></a>00203     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a1bb616233e1eee950f634b4e74ec6d2c">on_pushButtonAnadirCompanero_clicked</a>();
<a name="l00204"></a>00204 
<a name="l00209"></a>00209     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a38d9b34b631c03081e291e65cb133197">on_pushButtonQuitarCompanero_clicked</a>();
<a name="l00210"></a>00210 
<a name="l00216"></a>00216     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ad5349e756612a52bca7f8152d680b260">on_tableWidgetCompaneros_itemDoubleClicked</a>(QTableWidgetItem *item);
<a name="l00217"></a>00217 
<a name="l00222"></a>00222     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ac770b26b1d47589501c024e0877e938e">on_pushButtonAnadirSesion_clicked</a>();
<a name="l00223"></a>00223 
<a name="l00228"></a>00228     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a92617bb44abd78a0b3a979222ef99bb3">on_pushButtonQuitarSesion_clicked</a>();
<a name="l00229"></a>00229 
<a name="l00235"></a>00235     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a4670e97f0f25db096b6677b10342f4db">on_tableWidgetSesiones_itemDoubleClicked</a>(QTableWidgetItem *item);
<a name="l00236"></a>00236 
<a name="l00241"></a>00241     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a1000abba93fb5f82b5d87e75689520de">on_pushButtonAnadirCita_clicked</a>();
<a name="l00242"></a>00242 
<a name="l00247"></a>00247     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#aa14b696a14314a7455547995bd2db592">on_pushButtonQuitarCita_clicked</a>();
<a name="l00248"></a>00248 
<a name="l00254"></a>00254     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a1af2d87f90d9ecae8708ead684429cee">on_tableWidgetCitas_itemDoubleClicked</a>(QTableWidgetItem *item);
<a name="l00255"></a>00255 
<a name="l00260"></a>00260     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#abc4c9ae27e27e9b35b7548c19feb0004">on_pushButtonAnadirNota_clicked</a>();
<a name="l00261"></a>00261 
<a name="l00266"></a>00266     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#ad81ed589f3a312ded8b9a357dde9f0e4">on_pushButtonQuitarNota_clicked</a>();
<a name="l00267"></a>00267 
<a name="l00273"></a>00273     <span class="keywordtype">void</span> <a class="code" href="classVistaQtAsignatura.html#a7533bda6674fe7d63a8ee390971daf7d">on_tableWidgetNotas_itemDoubleClicked</a>(QTableWidgetItem *item);
<a name="l00274"></a>00274 };
<a name="l00275"></a>00275 
<a name="l00276"></a>00276 <span class="preprocessor">#endif // VISTAQTASIGNATURA_H</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generado el Mon Apr 25 18:18:54 2011 para Programación en Entornos Interactivos 2010/2011 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
